//
// Created by 28365 on 2025/3/5.
//

#ifndef ODUPDATERSDK_UPDATEEVENT_H
#define ODUPDATERSDK_UPDATEEVENT_H


#include "../include/obj/Res.h"

class UpdateEvent {

private:
    /**
     * 资源信息
     */
    const Res *res;
    /**
     * 版本号
     */
    int version{};

public:

    UpdateEvent(const Res *res, int version);

    [[nodiscard]] const Res *getRes() const;

    [[nodiscard]] int getVersion() const;

};


#endif //ODUPDATERSDK_UPDATEEVENT_H
